﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Q.M.Finance.Domain.Entity
{
    /// <summary>
    /// 支出管理表
    /// </summary>
    [SugarTable("expenditure")]
    public class expenditure
    {
        /// <summary>
        /// 支出单号
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, ColumnDescription = "支出单号", Length = 50)]
        public string invoiceid { get; set; }

        /// <summary>
        /// 支出主题
        /// </summary>
        [SugarColumn(ColumnDescription = "支出主题", Length = 50)]
        public string? expenditure_theme { get; set; }

        /// <summary>
        /// 支出类型
        /// </summary>
        [SugarColumn(ColumnDescription = "支出类型")]
        public string? expenditure_typename { get; set; }

        /// <summary>
        /// 支付日期
        /// </summary>
        [SugarColumn(ColumnDescription = "支付日期")]
        public DateTime? payment_date { get; set; }

        /// <summary>
        /// 付款金额
        /// </summary>
        [SugarColumn(ColumnDescription = "付款金额")]
        public decimal payment_amount { get; set; }

        /// <summary>
        /// 采购订单
        /// </summary>
        [SugarColumn(ColumnDescription = "采购订单")]
        public string? purchase_code { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [SugarColumn(ColumnDescription = "备注", Length = 50)]
        public string? comment { get; set; }

        /// <summary>
        /// 收款方
        /// </summary>
        [SugarColumn(ColumnDescription = "收款方", Length = 50)]
        public string? payee { get; set; }

        /// <summary>
        /// 银行账号
        /// </summary>
        [SugarColumn(ColumnDescription = "银行账号", Length = 50)]
        public string? payee_bank_account { get; set; }
    }
}
